package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.OEMSupplier;
import com.yunfeng.common.util.Page;

public interface OEMSupplierService {
	OEMSupplier get(Long id);

	void saveOrUpdate(OEMSupplier oEMSupplier);

	void delete(Long id);

	List<OEMSupplier> findAll();

	List<OEMSupplier> findAll(Page page);

	List<OEMSupplier> findByLiaohao(Page page, String liaohao);

	List<OEMSupplier> findByExample(Specification<OEMSupplier> specification,
			Page page);
}
